package com.lovo.ssc.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author lovo
 * @since 2022-07-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_returnOrder")
@ApiModel(value = "退货订单表")
public class Returnorder extends Model {


    private static final long serialVersionUID = 1L;

    @TableId(value = "returnOrderId", type = IdType.AUTO)
    @ApiModelProperty(hidden = true)
    private Integer returnorderid;

    /**
     * 用户名
     */
    @TableField("userName")
    @ApiModelProperty(value = "用户名")
    private String username;

    /**
     * 退货单号
     */
    @TableField("returnGoodsCode")
    @ApiModelProperty(value = "退货单号")
    private String returngoodscode;

    /**
     * 购买订单号
     */
    @TableField("orderCode")
    @ApiModelProperty(value = "购买订单号")
    private String ordercode;

    /**
     * 商品编号
     */
    @TableField("commodityCode")
    @ApiModelProperty(value = "商品编号")
    private String commoditycode;

    /**
     * 商品名
     */
    @TableField("commodityName")
    @ApiModelProperty(value = "商品名")
    private String commodityname;



    /**
     * 规格
     */
    @ApiModelProperty(value = "规格")
    private String norms;

    /**
     * 类型
     */
    @ApiModelProperty(value = "类型")
    private String type;

    /**
     * 退款金额
     */
    @TableField("retuenPrice")
    @ApiModelProperty(value = "退款金额")
    private Double retuenprice;

    /**
     * 退货原因
     */
    @TableField("returnReason")
    @ApiModelProperty(value = "退货原因")
    private String returnreason;

    /**
     * 0-正在退货、1-退货失败、2-正在退款、3-退货完成
     */
    @TableField("returnState")
    @ApiModelProperty(value = "退货状态")
    private String returnstate;

    /**
     * 退货时间
     */
    @TableField("returnDate")
    @ApiModelProperty(value = "退货时间")
    private String returndate;


}
